

import http from "@/utils/http";


interface FacilityType{
    id:number|string,
    name:string,
    type:number|string,
    icon:string
}

let getFacilityList =()=>{
    return http.get<FacilityType[]>(`/admin/facility/list?type=1`);
}

export {
    type FacilityType,
    getFacilityList
}